/*
 * @Author: yuanweijiang
 * @Date: 2025-04-15 10:06:21
 * @LastEditors: yuanweijiang
 */
import { defineStore } from 'pinia';

export const useMapInfo = defineStore('mapInfo', {
	state: () => ({
		mapData: {
			url: '',
			postion: {},
		},
	}),
	actions: {
		setMap(obj) {
			this.mapData = obj;
		},
	},
});
